package com.itheima.sh.user.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("address")
//@CrossOrigin 允许源地址
public class AddressController {
    @GetMapping("/me")
    public String myaddress() {
        return "<h1>黑马程序员！！！</h1>";
    }
}
